package com.uum.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.uum.admin.pojo.entity.SysWebVisit;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Tsang_yc
 * @since 2022-05-26
 */
public interface SysWebVisitMapper extends BaseMapper<SysWebVisit> {

    List<Map<String, Object>> getWebPVByWeek(@Param("startTime") String startTime, @Param("endTime") String endTime);

    List<Map<String, Object>> getWebUVByWeek(@Param("startTime") String startTime, @Param("endTime") String endTime);
}
